package com.ruoyi.project.tugboat.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 测点对象 c_point
 * 
 * @author ruoyi
 * @date 2023-12-14
 */
public class CPoint extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 测点标识符 */
    private Long pointId;

    /** 测点代码 */
    private String pointCod;

    /** 测点名称 */
    @Excel(name = "测点名称")
    private String pointNam;

    /** 测点类型，value表示模拟量，bool表示开关量 */
    @Excel(name = "测点类型，value表示模拟量，bool表示开关量")
    private String pointTyp;

    /** 设备代码，指明该测点从属于哪个设备 */
    @Excel(name = "设备代码，指明该测点从属于哪个设备")
    private String deviceCod;

    /** 是否逻辑删除，0已删除，1未删除 */
    @Excel(name = "是否逻辑删除，0已删除，1未删除")
    private String isSafe;

    /** 是否启用，0未启用，1启用 */
    @Excel(name = "是否启用，0未启用，1启用")
    private String isEnable;

    public void setPointId(Long pointId) 
    {
        this.pointId = pointId;
    }

    public Long getPointId() 
    {
        return pointId;
    }
    public void setPointCod(String pointCod) 
    {
        this.pointCod = pointCod;
    }

    public String getPointCod() 
    {
        return pointCod;
    }
    public void setPointNam(String pointNam) 
    {
        this.pointNam = pointNam;
    }

    public String getPointNam() 
    {
        return pointNam;
    }
    public void setPointTyp(String pointTyp) 
    {
        this.pointTyp = pointTyp;
    }

    public String getPointTyp() 
    {
        return pointTyp;
    }
    public void setDeviceCod(String deviceCod) 
    {
        this.deviceCod = deviceCod;
    }

    public String getDeviceCod() 
    {
        return deviceCod;
    }
    public void setIsSafe(String isSafe) 
    {
        this.isSafe = isSafe;
    }

    public String getIsSafe() 
    {
        return isSafe;
    }
    public void setIsEnable(String isEnable) 
    {
        this.isEnable = isEnable;
    }

    public String getIsEnable() 
    {
        return isEnable;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pointId", getPointId())
            .append("pointCod", getPointCod())
            .append("pointNam", getPointNam())
            .append("pointTyp", getPointTyp())
            .append("deviceCod", getDeviceCod())
            .append("isSafe", getIsSafe())
            .append("isEnable", getIsEnable())
            .toString();
    }
}
